package com.tuanzi.loan.business.service.collaborate;

import com.tuanzi.loan.business.entity.collaborate.NewCollaborateChannelRatio;
import com.tuanzi.loan.business.entity.collaborate.NewCollaborateChannelUser;
import com.tuanzi.loan.core.service.CommonService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.Collaborate.CollaborateConfigListRequest;
import com.tuanzi.loan.vo.response.collaborate.CollaborateConfigListResponse;
import org.springframework.data.domain.Page;

/**
 * User: liangZongXi
 * Create time: 14:56 2018/9/18
 * Description:
 */
public interface CollaborateChannelUserService extends CommonService<NewCollaborateChannelUser, Integer> {

    Page<CollaborateConfigListResponse> list(PageSearcher<CollaborateConfigListRequest> pageSearcher);

    CollaborateConfigListResponse findCollaborateConfigInfo(Integer channelUserId);

    void saveUserChannelAndRatio(CollaborateConfigListResponse collaborateConfigListResponse);
}
